# Maintainer: Tobias Powalowski <tpowa@archlinux.org>

pkgname=liblqr
pkgver=0.4.2
pkgrel=3
pkgdesc="A seam-carving C/C++ library called Liquid Rescale"
arch=('x86_64')
url="https://liblqr.wikidot.com/"
license=('GPL')
depends=('glib2')
options=('!emptydirs')
source=("https://liblqr.wikidot.com/local--files/en:download-page/$pkgname-1-$pkgver.tar.bz2")
sha256sums=('173a822efd207d72cda7d7f4e951c5000f31b10209366ff7f0f5972f7f9ff137')

build() {
  cd $pkgname-1-$pkgver
  ./configure --prefix=/usr 
  make
}

package() {
  cd $pkgname-1-$pkgver
  make DESTDIR="$pkgdir/" install
}
